<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class AddColumnHandleFrameInProjectTable extends AbstractMigration
{
    public function up()
    {
        $this->table('project')
            ->addColumn('handle_frame', 'integer', ['signed' => false, 'default' => 25, 'limit' => 11, 'comment' => '多余起始帧'])
            ->save();
    }

    public function down()
    {
        $this->table('project')->removeColumn('handle_frame')->save();
    }
}
